# 查找当前目录下的所有源文件
# 并将名称保存到 DIR_examples_SRCS 变量
#aux_source_directory(. DIR_LCD_DRV_SRCS)

file(GLOB_RECURSE DIR_HAL_SRCS "*.c" "*.cpp")

#add_subdirectory(lib/Config)
#add_subdirectory(lib/LCD)


# 生成链接库
add_library(HAL ${DIR_HAL_SRCS})
target_link_libraries(HAL PUBLIC  pico_stdlib)
target_include_directories(HAL PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
